	.file	1 "tr.c"
	.section .mdebug.abi32
	.previous
	.abicalls
	.rdata
	.align	2
$LC0:
	.ascii	"Usage:\n\000"
	.align	2
$LC1:
	.ascii	"  tp0 -h\n\000"
	.align	2
$LC2:
	.ascii	"  tp0 -V\n\000"
	.align	2
$LC3:
	.ascii	"  tp0 [options] string1 string2\n\000"
	.align	2
$LC4:
	.ascii	"  tp0 [options] string1\n\000"
	.align	2
$LC5:
	.ascii	"Options:\n\000"
	.align	2
$LC6:
	.ascii	"  -V, --version        Print version and quit.\n\000"
	.align	2
$LC7:
	.ascii	"  -h, --help           Print this information and quit.\n"
	.ascii	"\000"
	.align	2
$LC8:
	.ascii	"  -d, --delete         Delete characters in string1\n\000"
	.align	2
$LC9:
	.ascii	"  -s, --squeeze        Squeeze characters in input.\n\n\000"
	.align	2
$LC10:
	.ascii	"Examples:\n\000"
	.align	2
$LC11:
	.ascii	"  tp0 abc 123 < alpha.txt\n\000"
	.align	2
$LC12:
	.ascii	"  tp0 -ds 123456789 aeiou\n\000"
	.text
	.align	2
	.globl	print_help
	.ent	print_help
print_help:
	.frame	$fp,40,$ra		# vars= 0, regs= 3/0, args= 16, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$t9
	.set	reorder
	subu	$sp,$sp,40
	.cprestore 16
	sw	$ra,32($sp)
	sw	$fp,28($sp)
	sw	$gp,24($sp)
	move	$fp,$sp
	la	$a0,$LC0
	la	$t9,printf
	jal	$ra,$t9
	la	$a0,$LC1
	la	$t9,printf
	jal	$ra,$t9
	la	$a0,$LC2
	la	$t9,printf
	jal	$ra,$t9
	la	$a0,$LC3
	la	$t9,printf
	jal	$ra,$t9
	la	$a0,$LC4
	la	$t9,printf
	jal	$ra,$t9
	la	$a0,$LC5
	la	$t9,printf
	jal	$ra,$t9
	la	$a0,$LC6
	la	$t9,printf
	jal	$ra,$t9
	la	$a0,$LC7
	la	$t9,printf
	jal	$ra,$t9
	la	$a0,$LC8
	la	$t9,printf
	jal	$ra,$t9
	la	$a0,$LC9
	la	$t9,printf
	jal	$ra,$t9
	la	$a0,$LC10
	la	$t9,printf
	jal	$ra,$t9
	la	$a0,$LC11
	la	$t9,printf
	jal	$ra,$t9
	la	$a0,$LC12
	la	$t9,printf
	jal	$ra,$t9
	move	$sp,$fp
	lw	$ra,32($sp)
	lw	$fp,28($sp)
	addu	$sp,$sp,40
	j	$ra
	.end	print_help
	.size	print_help, .-print_help
	.rdata
	.align	2
$LC13:
	.ascii	"Version 1.0\n\000"
	.text
	.align	2
	.globl	print_version
	.ent	print_version
print_version:
	.frame	$fp,40,$ra		# vars= 0, regs= 3/0, args= 16, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$t9
	.set	reorder
	subu	$sp,$sp,40
	.cprestore 16
	sw	$ra,32($sp)
	sw	$fp,28($sp)
	sw	$gp,24($sp)
	move	$fp,$sp
	la	$a0,$LC13
	la	$t9,printf
	jal	$ra,$t9
	move	$sp,$fp
	lw	$ra,32($sp)
	lw	$fp,28($sp)
	addu	$sp,$sp,40
	j	$ra
	.end	print_version
	.size	print_version, .-print_version
	.align	2
	.globl	squeeze_string
	.ent	squeeze_string
squeeze_string:
	.frame	$fp,56,$ra		# vars= 16, regs= 3/0, args= 16, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$t9
	.set	reorder
	subu	$sp,$sp,56
	.cprestore 16
	sw	$ra,48($sp)
	sw	$fp,44($sp)
	sw	$gp,40($sp)
	move	$fp,$sp
	sw	$a0,56($fp)
	sw	$a1,60($fp)
	sw	$a2,64($fp)
	lw	$a0,60($fp)
	la	$t9,strlen
	jal	$ra,$t9
	sw	$v0,24($fp)
	sw	$zero,28($fp)
	sw	$zero,32($fp)
	sw	$zero,36($fp)
$L20:
	lw	$v0,28($fp)
	lw	$v1,24($fp)
	sltu	$v0,$v0,$v1
	bne	$v0,$zero,$L22
	b	$L21
$L22:
	lw	$v1,60($fp)
	lw	$v0,28($fp)
	addu	$v0,$v1,$v0
	lb	$v0,0($v0)
	lw	$a0,56($fp)
	move	$a1,$v0
	la	$t9,strchr
	jal	$ra,$t9
	beq	$v0,$zero,$L23
	lw	$v0,36($fp)
	beq	$v0,$zero,$L25
	lw	$v1,64($fp)
	lw	$v0,32($fp)
	addu	$v0,$v1,$v0
	addu	$a0,$v0,-1
	lw	$v1,60($fp)
	lw	$v0,28($fp)
	addu	$v0,$v1,$v0
	lb	$v1,0($a0)
	lb	$v0,0($v0)
	bne	$v1,$v0,$L25
	b	$L26
$L25:
	lw	$v1,64($fp)
	lw	$v0,32($fp)
	addu	$a0,$v1,$v0
	lw	$v1,60($fp)
	lw	$v0,28($fp)
	addu	$v0,$v1,$v0
	lbu	$v0,0($v0)
	sb	$v0,0($a0)
	lw	$v0,32($fp)
	addu	$v0,$v0,1
	sw	$v0,32($fp)
	li	$v0,1			# 0x1
	sw	$v0,36($fp)
	b	$L26
$L23:
	lw	$v1,64($fp)
	lw	$v0,32($fp)
	addu	$a0,$v1,$v0
	lw	$v1,60($fp)
	lw	$v0,28($fp)
	addu	$v0,$v1,$v0
	lbu	$v0,0($v0)
	sb	$v0,0($a0)
	lw	$v0,32($fp)
	addu	$v0,$v0,1
	sw	$v0,32($fp)
	sw	$zero,36($fp)
$L26:
	lw	$v0,28($fp)
	addu	$v0,$v0,1
	sw	$v0,28($fp)
	b	$L20
$L21:
	lw	$v1,64($fp)
	lw	$v0,32($fp)
	addu	$v0,$v1,$v0
	sb	$zero,0($v0)
	move	$v0,$zero
	move	$sp,$fp
	lw	$ra,48($sp)
	lw	$fp,44($sp)
	addu	$sp,$sp,56
	j	$ra
	.end	squeeze_string
	.size	squeeze_string, .-squeeze_string
	.align	2
	.globl	extend_string
	.ent	extend_string
extend_string:
	.frame	$fp,48,$ra		# vars= 8, regs= 3/0, args= 16, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$t9
	.set	reorder
	subu	$sp,$sp,48
	.cprestore 16
	sw	$ra,40($sp)
	sw	$fp,36($sp)
	sw	$gp,32($sp)
	move	$fp,$sp
	sw	$a0,48($fp)
	sw	$a1,52($fp)
	lw	$a0,48($fp)
	la	$t9,strlen
	jal	$ra,$t9
	move	$v1,$v0
	lw	$v0,48($fp)
	addu	$v0,$v1,$v0
	addu	$v0,$v0,-1
	lb	$v0,0($v0)
	sw	$v0,24($fp)
	lw	$a0,48($fp)
	la	$t9,strlen
	jal	$ra,$t9
	move	$v1,$v0
	lw	$v0,48($fp)
	addu	$v0,$v1,$v0
	move	$a0,$v0
	lw	$a1,24($fp)
	lw	$a2,52($fp)
	la	$t9,memset
	jal	$ra,$t9
	lw	$a0,48($fp)
	la	$t9,strlen
	jal	$ra,$t9
	move	$v1,$v0
	lw	$v0,48($fp)
	addu	$v0,$v1,$v0
	sb	$zero,0($v0)
	lw	$v0,48($fp)
	move	$sp,$fp
	lw	$ra,40($sp)
	lw	$fp,36($sp)
	addu	$sp,$sp,48
	j	$ra
	.end	extend_string
	.size	extend_string, .-extend_string
	.rdata
	.align	2
$LC14:
	.ascii	"Error reading stdin\n\000"
	.align	2
$LC15:
	.ascii	"Error (re)allocating memory\000"
	.align	2
$LC16:
	.ascii	"Error writing stdout\n\000"
	.text
	.align	2
	.globl	tp0
	.ent	tp0
tp0:
	.frame	$fp,80,$ra		# vars= 40, regs= 3/0, args= 16, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$t9
	.set	reorder
	subu	$sp,$sp,80
	.cprestore 16
	sw	$ra,72($sp)
	sw	$fp,68($sp)
	sw	$gp,64($sp)
	move	$fp,$sp
	sw	$a0,80($fp)
	sw	$a1,84($fp)
	sw	$a2,88($fp)
	sw	$a3,92($fp)
	la	$v0,__sF
	sw	$v0,24($fp)
	la	$v0,__sF+176
	sw	$v0,28($fp)
	la	$v0,__sF+88
	sw	$v0,32($fp)
	li	$a0,2			# 0x2
	la	$t9,malloc
	jal	$ra,$t9
	sw	$v0,36($fp)
	sw	$zero,40($fp)
	li	$v0,1			# 0x1
	sw	$v0,44($fp)
	lw	$a0,24($fp)
	la	$t9,fgetc
	jal	$ra,$t9
	sw	$v0,48($fp)
	lw	$v0,24($fp)
	lhu	$v0,12($v0)
	srl	$v0,$v0,6
	andi	$v0,$v0,0x1
	beq	$v0,$zero,$L29
	lw	$a0,28($fp)
	la	$a1,$LC14
	la	$t9,fprintf
	jal	$ra,$t9
	li	$v0,1			# 0x1
	sw	$v0,56($fp)
	b	$L28
$L29:
	.set	noreorder
	nop
	.set	reorder
$L30:
	lw	$v1,48($fp)
	li	$v0,-1			# 0xffffffffffffffff
	beq	$v1,$v0,$L31
	lw	$v0,92($fp)
	bne	$v0,$zero,$L32
	b	$L31
$L32:
	lw	$a0,36($fp)
	la	$t9,strlen
	jal	$ra,$t9
	addu	$v1,$v0,-1
	lw	$v0,40($fp)
	sltu	$v0,$v1,$v0
	beq	$v0,$zero,$L34
	lw	$v0,44($fp)
	addu	$v0,$v0,1
	sw	$v0,44($fp)
	lw	$v0,44($fp)
	sll	$v0,$v0,1
	lw	$a0,36($fp)
	move	$a1,$v0
	la	$t9,realloc
	jal	$ra,$t9
	sw	$v0,52($fp)
	lw	$v0,52($fp)
	beq	$v0,$zero,$L35
	lw	$v0,52($fp)
	sw	$v0,36($fp)
	b	$L34
$L35:
	lw	$a0,36($fp)
	la	$t9,free
	jal	$ra,$t9
	lw	$a0,28($fp)
	la	$a1,$LC15
	la	$t9,fprintf
	jal	$ra,$t9
	li	$v0,1			# 0x1
	sw	$v0,56($fp)
	b	$L28
$L34:
	lw	$a0,92($fp)
	lw	$a1,48($fp)
	la	$t9,strchr
	jal	$ra,$t9
	sw	$v0,52($fp)
	lw	$v0,52($fp)
	beq	$v0,$zero,$L37
	lw	$v0,80($fp)
	beq	$v0,$zero,$L38
	lw	$v1,36($fp)
	lw	$v0,40($fp)
	addu	$a0,$v1,$v0
	lw	$v1,52($fp)
	lw	$v0,92($fp)
	subu	$v1,$v1,$v0
	lw	$v0,96($fp)
	addu	$v0,$v1,$v0
	lbu	$v0,0($v0)
	sb	$v0,0($a0)
	lw	$v0,40($fp)
	addu	$v0,$v0,1
	sw	$v0,40($fp)
	b	$L41
$L38:
	lw	$v0,88($fp)
	bne	$v0,$zero,$L41
	lw	$v1,36($fp)
	lw	$v0,40($fp)
	addu	$v1,$v1,$v0
	lbu	$v0,48($fp)
	sb	$v0,0($v1)
	lw	$v0,40($fp)
	addu	$v0,$v0,1
	sw	$v0,40($fp)
	b	$L41
$L37:
	lw	$v1,36($fp)
	lw	$v0,40($fp)
	addu	$v1,$v1,$v0
	lbu	$v0,48($fp)
	sb	$v0,0($v1)
	lw	$v0,40($fp)
	addu	$v0,$v0,1
	sw	$v0,40($fp)
$L41:
	lw	$a0,24($fp)
	la	$t9,fgetc
	jal	$ra,$t9
	sw	$v0,48($fp)
	lw	$v0,24($fp)
	lhu	$v0,12($v0)
	srl	$v0,$v0,6
	andi	$v0,$v0,0x1
	beq	$v0,$zero,$L30
	lw	$a0,28($fp)
	la	$a1,$LC14
	la	$t9,fprintf
	jal	$ra,$t9
	li	$v0,1			# 0x1
	sw	$v0,56($fp)
	b	$L28
$L31:
	lw	$v1,36($fp)
	lw	$v0,40($fp)
	addu	$v0,$v1,$v0
	sb	$zero,0($v0)
	lw	$v0,84($fp)
	beq	$v0,$zero,$L43
	lw	$a0,40($fp)
	la	$t9,malloc
	jal	$ra,$t9
	sw	$v0,52($fp)
	lw	$a0,52($fp)
	lw	$a1,36($fp)
	lw	$a2,40($fp)
	la	$t9,strncpy
	jal	$ra,$t9
	lw	$v0,88($fp)
	bne	$v0,$zero,$L45
	lw	$v0,80($fp)
	bne	$v0,$zero,$L45
	b	$L44
$L45:
	lw	$a0,96($fp)
	lw	$a1,52($fp)
	lw	$a2,36($fp)
	la	$t9,squeeze_string
	jal	$ra,$t9
	b	$L46
$L44:
	lw	$a0,92($fp)
	lw	$a1,52($fp)
	lw	$a2,36($fp)
	la	$t9,squeeze_string
	jal	$ra,$t9
$L46:
	lw	$a0,52($fp)
	la	$t9,free
	jal	$ra,$t9
$L43:
	lw	$a0,36($fp)
	lw	$a1,32($fp)
	la	$t9,fputs
	jal	$ra,$t9
	lw	$v0,32($fp)
	lhu	$v0,12($v0)
	srl	$v0,$v0,6
	andi	$v0,$v0,0x1
	beq	$v0,$zero,$L47
	lw	$a0,28($fp)
	la	$a1,$LC16
	la	$t9,fprintf
	jal	$ra,$t9
	li	$v0,1			# 0x1
	sw	$v0,56($fp)
	b	$L28
$L47:
	lw	$a0,36($fp)
	la	$t9,free
	jal	$ra,$t9
	sw	$zero,56($fp)
$L28:
	lw	$v0,56($fp)
	move	$sp,$fp
	lw	$ra,72($sp)
	lw	$fp,68($sp)
	addu	$sp,$sp,80
	j	$ra
	.end	tp0
	.size	tp0, .-tp0
	.rdata
	.align	2
$LC17:
	.ascii	"Missing operand, for help use --help option.\n\000"
	.align	2
$LC18:
	.ascii	"-d\000"
	.align	2
$LC19:
	.ascii	"--delete\000"
	.align	2
$LC20:
	.ascii	"Extra operand: %s.\n\000"
	.align	2
$LC21:
	.ascii	"-s\000"
	.align	2
$LC22:
	.ascii	"--squeeze\000"
	.align	2
$LC23:
	.ascii	"-sd\000"
	.align	2
$LC24:
	.ascii	"-ds\000"
	.align	2
$LC25:
	.ascii	"-h\000"
	.align	2
$LC26:
	.ascii	"--help\000"
	.align	2
$LC27:
	.ascii	"-V\000"
	.align	2
$LC28:
	.ascii	"--version\000"
	.align	2
$LC29:
	.ascii	"tp0: opci\303\263n incorrecta -- '%s'\n\000"
	.align	2
$LC30:
	.ascii	"tp0: falta un operando despu\303\251s de \302\253%s\302\273"
	.ascii	"\n\000"
	.text
	.align	2
	.globl	main
	.ent	main
main:
	.frame	$fp,80,$ra		# vars= 32, regs= 4/0, args= 24, extra= 8
	.mask	0xd0010000,-4
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$t9
	.set	reorder
	subu	$sp,$sp,80
	.cprestore 24
	sw	$ra,76($sp)
	sw	$fp,72($sp)
	sw	$gp,68($sp)
	sw	$s0,64($sp)
	move	$fp,$sp
	sw	$a0,80($fp)
	sw	$a1,84($fp)
	sw	$zero,32($fp)
	sw	$zero,36($fp)
	sw	$zero,40($fp)
	sw	$zero,44($fp)
	sw	$zero,48($fp)
	lw	$v0,80($fp)
	slt	$v0,$v0,2
	beq	$v0,$zero,$L49
	la	$a0,__sF+176
	la	$a1,$LC17
	la	$t9,fprintf
	jal	$ra,$t9
	li	$a0,1			# 0x1
	la	$t9,exit
	jal	$ra,$t9
$L49:
	lw	$v0,84($fp)
	addu	$v0,$v0,4
	lw	$a0,0($v0)
	la	$a1,$LC18
	la	$t9,strcmp
	jal	$ra,$t9
	beq	$v0,$zero,$L51
	lw	$v0,84($fp)
	addu	$v0,$v0,4
	lw	$a0,0($v0)
	la	$a1,$LC19
	la	$t9,strcmp
	jal	$ra,$t9
	bne	$v0,$zero,$L50
$L51:
	lw	$v0,80($fp)
	slt	$v0,$v0,4
	bne	$v0,$zero,$L52
	lw	$v0,84($fp)
	addu	$v0,$v0,12
	la	$a0,__sF+176
	la	$a1,$LC20
	lw	$a2,0($v0)
	la	$t9,fprintf
	jal	$ra,$t9
	li	$a0,1			# 0x1
	la	$t9,exit
	jal	$ra,$t9
$L52:
	li	$v0,1			# 0x1
	sw	$v0,48($fp)
	lw	$v0,84($fp)
	addu	$v0,$v0,8
	lw	$v0,0($v0)
	sw	$v0,32($fp)
	b	$L53
$L50:
	lw	$v0,84($fp)
	addu	$v0,$v0,4
	lw	$a0,0($v0)
	la	$a1,$LC21
	la	$t9,strcmp
	jal	$ra,$t9
	beq	$v0,$zero,$L55
	lw	$v0,84($fp)
	addu	$v0,$v0,4
	lw	$a0,0($v0)
	la	$a1,$LC22
	la	$t9,strcmp
	jal	$ra,$t9
	bne	$v0,$zero,$L54
$L55:
	lw	$v1,80($fp)
	li	$v0,3			# 0x3
	bne	$v1,$v0,$L56
	li	$v0,1			# 0x1
	sw	$v0,44($fp)
	lw	$v0,84($fp)
	addu	$v0,$v0,8
	lw	$v0,0($v0)
	sw	$v0,32($fp)
	b	$L53
$L56:
	lw	$v1,80($fp)
	li	$v0,4			# 0x4
	bne	$v1,$v0,$L58
	li	$v0,1			# 0x1
	sw	$v0,40($fp)
	li	$v0,1			# 0x1
	sw	$v0,44($fp)
	lw	$v0,84($fp)
	addu	$v0,$v0,8
	lw	$v0,0($v0)
	sw	$v0,32($fp)
	lw	$v0,84($fp)
	addu	$v0,$v0,12
	lw	$v0,0($v0)
	sw	$v0,36($fp)
	b	$L53
$L58:
	la	$t9,print_help
	jal	$ra,$t9
	li	$v0,1			# 0x1
	sw	$v0,56($fp)
	b	$L48
$L54:
	lw	$v0,84($fp)
	addu	$v0,$v0,4
	lw	$a0,0($v0)
	la	$a1,$LC23
	la	$t9,strcmp
	jal	$ra,$t9
	beq	$v0,$zero,$L62
	lw	$v0,84($fp)
	addu	$v0,$v0,4
	lw	$a0,0($v0)
	la	$a1,$LC24
	la	$t9,strcmp
	jal	$ra,$t9
	bne	$v0,$zero,$L61
$L62:
	li	$v0,1			# 0x1
	sw	$v0,48($fp)
	li	$v0,1			# 0x1
	sw	$v0,44($fp)
	lw	$v0,84($fp)
	addu	$v0,$v0,8
	lw	$v0,0($v0)
	sw	$v0,32($fp)
	lw	$v0,84($fp)
	addu	$v0,$v0,12
	lw	$v0,0($v0)
	sw	$v0,36($fp)
	b	$L53
$L61:
	lw	$v0,84($fp)
	addu	$v0,$v0,4
	lw	$a0,0($v0)
	la	$a1,$LC25
	la	$t9,strcmp
	jal	$ra,$t9
	beq	$v0,$zero,$L65
	lw	$v0,84($fp)
	addu	$v0,$v0,4
	lw	$a0,0($v0)
	la	$a1,$LC26
	la	$t9,strcmp
	jal	$ra,$t9
	bne	$v0,$zero,$L64
$L65:
	la	$t9,print_help
	jal	$ra,$t9
	sw	$zero,56($fp)
	b	$L48
$L64:
	lw	$v0,84($fp)
	addu	$v0,$v0,4
	lw	$a0,0($v0)
	la	$a1,$LC27
	la	$t9,strcmp
	jal	$ra,$t9
	beq	$v0,$zero,$L68
	lw	$v0,84($fp)
	addu	$v0,$v0,4
	lw	$a0,0($v0)
	la	$a1,$LC28
	la	$t9,strcmp
	jal	$ra,$t9
	bne	$v0,$zero,$L67
$L68:
	la	$t9,print_version
	jal	$ra,$t9
	sw	$zero,56($fp)
	b	$L48
$L67:
	lw	$v0,80($fp)
	slt	$v0,$v0,4
	bne	$v0,$zero,$L70
	lw	$v0,84($fp)
	addu	$v0,$v0,12
	la	$a0,__sF+176
	la	$a1,$LC20
	lw	$a2,0($v0)
	la	$t9,fprintf
	jal	$ra,$t9
	li	$a0,1			# 0x1
	la	$t9,exit
	jal	$ra,$t9
$L70:
	lw	$v1,80($fp)
	li	$v0,2			# 0x2
	bne	$v1,$v0,$L71
	lw	$v0,84($fp)
	addu	$v0,$v0,4
	lw	$v0,0($v0)
	lb	$v1,0($v0)
	li	$v0,45			# 0x2d
	bne	$v1,$v0,$L72
	lw	$v0,84($fp)
	addu	$v0,$v0,4
	la	$a0,__sF+176
	la	$a1,$LC29
	lw	$a2,0($v0)
	la	$t9,fprintf
	jal	$ra,$t9
	b	$L73
$L72:
	lw	$v0,84($fp)
	addu	$v0,$v0,4
	la	$a0,__sF+176
	la	$a1,$LC30
	lw	$a2,0($v0)
	la	$t9,fprintf
	jal	$ra,$t9
$L73:
	li	$a0,1			# 0x1
	la	$t9,exit
	jal	$ra,$t9
$L71:
	li	$v0,1			# 0x1
	sw	$v0,40($fp)
	lw	$v0,84($fp)
	addu	$v0,$v0,4
	lw	$v0,0($v0)
	sw	$v0,32($fp)
	lw	$v0,84($fp)
	addu	$v0,$v0,8
	lw	$v0,0($v0)
	sw	$v0,36($fp)
$L53:
	lw	$v0,40($fp)
	beq	$v0,$zero,$L74
	lw	$a0,36($fp)
	la	$t9,strlen
	jal	$ra,$t9
	move	$s0,$v0
	lw	$a0,32($fp)
	la	$t9,strlen
	jal	$ra,$t9
	sltu	$v0,$s0,$v0
	beq	$v0,$zero,$L74
	lw	$a0,32($fp)
	la	$t9,strlen
	jal	$ra,$t9
	addu	$v0,$v0,1
	move	$a0,$v0
	la	$t9,malloc
	jal	$ra,$t9
	sw	$v0,52($fp)
	lw	$a0,36($fp)
	la	$t9,strlen
	jal	$ra,$t9
	lw	$a0,52($fp)
	lw	$a1,36($fp)
	move	$a2,$v0
	la	$t9,memcpy
	jal	$ra,$t9
	lw	$a0,32($fp)
	la	$t9,strlen
	jal	$ra,$t9
	move	$s0,$v0
	lw	$a0,36($fp)
	la	$t9,strlen
	jal	$ra,$t9
	subu	$v0,$s0,$v0
	lw	$a0,52($fp)
	move	$a1,$v0
	la	$t9,extend_string
	jal	$ra,$t9
	lw	$v0,52($fp)
	sw	$v0,16($sp)
	lw	$a0,40($fp)
	lw	$a1,44($fp)
	lw	$a2,48($fp)
	lw	$a3,32($fp)
	la	$t9,tp0
	jal	$ra,$t9
	lw	$a0,52($fp)
	la	$t9,free
	jal	$ra,$t9
	b	$L75
$L74:
	lw	$v0,36($fp)
	sw	$v0,16($sp)
	lw	$a0,40($fp)
	lw	$a1,44($fp)
	lw	$a2,48($fp)
	lw	$a3,32($fp)
	la	$t9,tp0
	jal	$ra,$t9
$L75:
	sw	$zero,56($fp)
$L48:
	lw	$v0,56($fp)
	move	$sp,$fp
	lw	$ra,76($sp)
	lw	$fp,72($sp)
	lw	$s0,64($sp)
	addu	$sp,$sp,80
	j	$ra
	.end	main
	.size	main, .-main
	.ident	"GCC: (GNU) 3.3.3 (NetBSD nb3 20040520)"
